package com.gridmobi.xrtb.domain.dsp.common;

import java.util.List;

public class PageResultDTO<T> {

    private long total;
    private float total2;

    private List<T> rows;

    public PageResultDTO() {
    }

    public PageResultDTO(long total, List<T> rows) {

        this.total = total;
        this.rows = rows;

    }

    public PageResultDTO(long total, float total2, List<T> rows) {
        this.total = total;
        this.total2 = total2;
        this.rows = rows;
    }

    public long getTotal() {
        return total;
    }

    public void setTotal(long total) {
        this.total = total;
    }

    public List<T> getRows() {
        return rows;
    }

    public void setRows(List<T> rows) {
        this.rows = rows;
    }

    public float getTotal2() {
        return total2;
    }

    public void setTotal2(float total2) {
        this.total2 = total2;
    }
}
